Feature

Undocumented in source.

Members

Functions

getAllDependencies
Feature*[] getAllDependencies()
Undocumented in source. Be warned that the author may not have intended to support it.
getFeature
bool getFeature(Terminal t, RealTimeConsoleInput input, TargetVersion v)
Undocumented in source. Be warned that the author may not have intended to support it.
isRequired
bool isRequired()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

currentVersion
TargetVersion currentVersion;

The version that was actually chosen

dependencies
Feature*[] dependencies;

Dependencies must be initialized in a 2-way start. First, every dependency is started with its own information After that, all the dependencies are started.

description
string description;
Undocumented in source.
existenceChecker
ExistenceChecker existenceChecker;

Checks the existence in $PATH Checks the existence in gameBuild

installer
Installation installer;

Gets an optional Download[] array, and an installer function which contains the downloaded files information

name
string name;
Undocumented in source.
requiredOn
OS[] requiredOn;

When empty it means it is required on every OS. This was made because if it is not required in any OS, simply don't put in the dependencies

startUsingFeature
void function(ref Terminal t, string where) startUsingFeature;

A function that is executed exactly once after the installation was succeeded.

supportedVersion
VersionRange supportedVersion;

Range of supported versions. May support in the feature also version whitelisting.

Meta